var CryptoJS = require("https://gitee.com/ali88888/storm-sniffer-js/raw/master/crypto/crypto-js.js");
//import 'https://gitee.com/ali88888/storm-sniffer-js/raw/master/crypto/crypto-js.js';

var data = [{id: 1}, {id: 2}]

// Encrypt
var ciphertext = CryptoJS.AES.encrypt(JSON.stringify(data), 'secret key 123').toString();

// Decrypt
var bytes  = CryptoJS.AES.decrypt(ciphertext, 'secret key 123');
var decryptedData = JSON.parse(bytes.toString(CryptoJS.enc.Utf8));

$notification.post("测试接口回执","",decryptedData);
$done({})